/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * FrmPesquisarContaReceber.java
 *
 * Created on 23/10/2009, 23:48:38
 */

package contasreceber.telas;

/**
 *
 * @author Wolverine
 */
public class FrmPesquisarContaReceber extends javax.swing.JFrame {

    /** Creates new form FrmPesquisarContaReceber */
    public FrmPesquisarContaReceber() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        valorReceberbuttonGroup = new javax.swing.ButtonGroup();
        tipoContabuttonGroup = new javax.swing.ButtonGroup();
        tipoPesquisabuttonGroup = new javax.swing.ButtonGroup();
        jPanel1 = new javax.swing.JPanel();
        jPanel2 = new javax.swing.JPanel();
        fDataEmissaojFormattedTextField = new javax.swing.JFormattedTextField();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        iDataEmissaojFormattedTextField = new javax.swing.JFormattedTextField();
        jPanel7 = new javax.swing.JPanel();
        jPanel3 = new javax.swing.JPanel();
        fDataVencimentojFormattedTextField3 = new javax.swing.JFormattedTextField();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        iDataVencimentojFormattedTextField4 = new javax.swing.JFormattedTextField();
        jPanel4 = new javax.swing.JPanel();
        valorMaiorjRadioButton = new javax.swing.JRadioButton();
        valorMenorjRadioButton = new javax.swing.JRadioButton();
        valorIgualjRadioButton = new javax.swing.JRadioButton();
        jPanel5 = new javax.swing.JPanel();
        jLabel5 = new javax.swing.JLabel();
        valorContajFormattedTextField5 = new javax.swing.JFormattedTextField();
        jPanel6 = new javax.swing.JPanel();
        contaAssociadojRadioButton = new javax.swing.JRadioButton();
        contaRepassejRadioButton = new javax.swing.JRadioButton();
        jPanel8 = new javax.swing.JPanel();
        jRadioButton1 = new javax.swing.JRadioButton();
        jRadioButton2 = new javax.swing.JRadioButton();
        jRadioButton3 = new javax.swing.JRadioButton();
        jRadioButton4 = new javax.swing.JRadioButton();
        jPanel9 = new javax.swing.JPanel();
        SalvarjButton = new javax.swing.JButton();
        jButton4 = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("Pesquisa de Contas a Receber");
        getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder("Data Emissao"));
        jPanel2.setAutoscrolls(true);
        jPanel2.setEnabled(false);
        jPanel2.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        try {
            fDataEmissaojFormattedTextField.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.MaskFormatter("##/##/####")));
        } catch (java.text.ParseException ex) {
            ex.printStackTrace();
        }
        fDataEmissaojFormattedTextField.setEnabled(false);
        jPanel2.add(fDataEmissaojFormattedTextField, new org.netbeans.lib.awtextra.AbsoluteConstraints(110, 40, 70, -1));

        jLabel1.setText("Data  Inicio");
        jPanel2.add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 26, -1, -1));

        jLabel2.setText("Data Final");
        jPanel2.add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(110, 26, -1, -1));

        try {
            iDataEmissaojFormattedTextField.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.MaskFormatter("##/##/####")));
        } catch (java.text.ParseException ex) {
            ex.printStackTrace();
        }
        iDataEmissaojFormattedTextField.setEnabled(false);
        jPanel2.add(iDataEmissaojFormattedTextField, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 40, 70, -1));

        javax.swing.GroupLayout jPanel7Layout = new javax.swing.GroupLayout(jPanel7);
        jPanel7.setLayout(jPanel7Layout);
        jPanel7Layout.setHorizontalGroup(
            jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 580, Short.MAX_VALUE)
        );
        jPanel7Layout.setVerticalGroup(
            jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 30, Short.MAX_VALUE)
        );

        jPanel2.add(jPanel7, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, -40, 580, 30));

        jPanel3.setBorder(javax.swing.BorderFactory.createTitledBorder("Data Vencimento"));
        jPanel3.setAutoscrolls(true);
        jPanel3.setEnabled(false);
        jPanel3.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        try {
            fDataVencimentojFormattedTextField3.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.MaskFormatter("##/##/####")));
        } catch (java.text.ParseException ex) {
            ex.printStackTrace();
        }
        fDataVencimentojFormattedTextField3.setEnabled(false);
        jPanel3.add(fDataVencimentojFormattedTextField3, new org.netbeans.lib.awtextra.AbsoluteConstraints(110, 40, 70, -1));

        jLabel3.setText("Data  Inicio");
        jPanel3.add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 26, -1, -1));

        jLabel4.setText("Data Final");
        jPanel3.add(jLabel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(110, 26, -1, -1));

        try {
            iDataVencimentojFormattedTextField4.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.MaskFormatter("##/##/####")));
        } catch (java.text.ParseException ex) {
            ex.printStackTrace();
        }
        iDataVencimentojFormattedTextField4.setEnabled(false);
        jPanel3.add(iDataVencimentojFormattedTextField4, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 40, 70, -1));

        jPanel4.setBorder(javax.swing.BorderFactory.createTitledBorder("Valor Receber"));
        jPanel4.setAutoscrolls(true);
        jPanel4.setEnabled(false);
        jPanel4.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        valorReceberbuttonGroup.add(valorMaiorjRadioButton);
        valorMaiorjRadioButton.setText("Valor Maior");
        valorMaiorjRadioButton.setEnabled(false);
        jPanel4.add(valorMaiorjRadioButton, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 20, -1, -1));

        valorReceberbuttonGroup.add(valorMenorjRadioButton);
        valorMenorjRadioButton.setText("Valor Menor");
        valorMenorjRadioButton.setEnabled(false);
        jPanel4.add(valorMenorjRadioButton, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 40, -1, -1));

        valorReceberbuttonGroup.add(valorIgualjRadioButton);
        valorIgualjRadioButton.setText("Valor Igual");
        valorIgualjRadioButton.setEnabled(false);
        jPanel4.add(valorIgualjRadioButton, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 60, -1, -1));

        jPanel5.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        jPanel5.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jLabel5.setText("Valor");
        jPanel5.add(jLabel5, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 6, -1, -1));

        try {
            valorContajFormattedTextField5.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.MaskFormatter("#0.00")));
        } catch (java.text.ParseException ex) {
            ex.printStackTrace();
        }
        valorContajFormattedTextField5.setEnabled(false);
        jPanel5.add(valorContajFormattedTextField5, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 20, 90, -1));

        jPanel4.add(jPanel5, new org.netbeans.lib.awtextra.AbsoluteConstraints(120, 20, 110, 60));

        jPanel6.setBorder(javax.swing.BorderFactory.createTitledBorder("Tipo de Conta"));
        jPanel6.setAutoscrolls(true);
        jPanel6.setEnabled(false);
        jPanel6.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        tipoContabuttonGroup.add(contaAssociadojRadioButton);
        contaAssociadojRadioButton.setText("Conta Associado");
        contaAssociadojRadioButton.setEnabled(false);
        jPanel6.add(contaAssociadojRadioButton, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 20, -1, -1));

        tipoContabuttonGroup.add(contaRepassejRadioButton);
        contaRepassejRadioButton.setText("Conta Repasse");
        contaRepassejRadioButton.setEnabled(false);
        jPanel6.add(contaRepassejRadioButton, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 50, -1, -1));

        jPanel8.setBorder(javax.swing.BorderFactory.createTitledBorder("Tipo de Pesquisa"));
        jPanel8.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        tipoPesquisabuttonGroup.add(jRadioButton1);
        jRadioButton1.setText("Data Emissão");
        jPanel8.add(jRadioButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 20, -1, -1));

        tipoPesquisabuttonGroup.add(jRadioButton2);
        jRadioButton2.setText("Data Vencimeto");
        jPanel8.add(jRadioButton2, new org.netbeans.lib.awtextra.AbsoluteConstraints(100, 20, -1, -1));

        tipoPesquisabuttonGroup.add(jRadioButton3);
        jRadioButton3.setText("Valor Receber");
        jPanel8.add(jRadioButton3, new org.netbeans.lib.awtextra.AbsoluteConstraints(300, 20, -1, -1));

        tipoPesquisabuttonGroup.add(jRadioButton4);
        jRadioButton4.setText("Tipo de Conta");
        jPanel8.add(jRadioButton4, new org.netbeans.lib.awtextra.AbsoluteConstraints(200, 20, -1, -1));

        jPanel9.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        jPanel9.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        SalvarjButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagens/tick.png"))); // NOI18N
        SalvarjButton.setText("Pesquisar");
        SalvarjButton.setToolTipText("Pesquisar");
        jPanel9.add(SalvarjButton, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 8, -1, -1));
        SalvarjButton.getAccessibleContext().setAccessibleDescription("");

        jButton4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagens/cross.png"))); // NOI18N
        jButton4.setText("Fechar");
        jButton4.setToolTipText("Fechar");
        jPanel9.add(jButton4, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 8, 100, -1));

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(41, 41, 41)
                .addComponent(jPanel9, javax.swing.GroupLayout.PREFERRED_SIZE, 336, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(43, Short.MAX_VALUE))
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jPanel8, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 396, Short.MAX_VALUE)
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createSequentialGroup()
                            .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, 248, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jPanel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createSequentialGroup()
                            .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, 195, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, 195, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addContainerGap(14, Short.MAX_VALUE))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                .addComponent(jPanel8, javax.swing.GroupLayout.DEFAULT_SIZE, 48, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, 69, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, 69, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, 91, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jPanel6, javax.swing.GroupLayout.PREFERRED_SIZE, 91, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jPanel9, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );

        getContentPane().add(jPanel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 10, 420, 280));

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new FrmPesquisarContaReceber().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton SalvarjButton;
    private javax.swing.JRadioButton contaAssociadojRadioButton;
    private javax.swing.JRadioButton contaRepassejRadioButton;
    private javax.swing.JFormattedTextField fDataEmissaojFormattedTextField;
    private javax.swing.JFormattedTextField fDataVencimentojFormattedTextField3;
    private javax.swing.JFormattedTextField iDataEmissaojFormattedTextField;
    private javax.swing.JFormattedTextField iDataVencimentojFormattedTextField4;
    private javax.swing.JButton jButton4;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel5;
    private javax.swing.JPanel jPanel6;
    private javax.swing.JPanel jPanel7;
    private javax.swing.JPanel jPanel8;
    private javax.swing.JPanel jPanel9;
    private javax.swing.JRadioButton jRadioButton1;
    private javax.swing.JRadioButton jRadioButton2;
    private javax.swing.JRadioButton jRadioButton3;
    private javax.swing.JRadioButton jRadioButton4;
    private javax.swing.ButtonGroup tipoContabuttonGroup;
    private javax.swing.ButtonGroup tipoPesquisabuttonGroup;
    private javax.swing.JFormattedTextField valorContajFormattedTextField5;
    private javax.swing.JRadioButton valorIgualjRadioButton;
    private javax.swing.JRadioButton valorMaiorjRadioButton;
    private javax.swing.JRadioButton valorMenorjRadioButton;
    private javax.swing.ButtonGroup valorReceberbuttonGroup;
    // End of variables declaration//GEN-END:variables

}
